package cn.yangliu.kindeditor.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 作者 杨柳
 * 时间 2017-09-24 15:25
 * 描述
 */
public class PropertiesUtils {

    public static Properties load(InputStream is){
        Properties properties = new Properties();
        try {
            properties.load(is);
        } catch (IOException e) {
            throw new RuntimeException(e.getMessage(),e);
        }
        return properties;
    }

}
